package aggregate.aggregator.remote;

import java.io.Serializable;

public class Category implements Serializable {
	private static final long serialVersionUID = 7229502638624568278L;
	
	private int id;
	private String name;

	public Category(String name) {
		this.name = name;
	}

	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getId() {
		return id;
	}
	
	public String getName() {
		return name;
	}
	
	@Override
	public String toString() {
		return getName() + " category";
	}
	
}
